package routers

import (
	"NovelBook/controller/public"

	"github.com/gin-gonic/gin"
)

func SetPublicRouters(r *gin.Engine) {

	r.GET(baseUrl+"/public/book/search", public.Search)
	//模糊查询
	r.GET(baseUrl+"/public/book/search_faintly", public.SearchFaintly)

	//交集索引
	r.GET(baseUrl+"/public/book/search_intersection", public.SearchIntersection)

	//类别搜索
	r.GET(baseUrl+"/public/book/search_book_kind", public.SearchBookByKind)
}
